<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	${student}
	<%-- action="<%=request.getContextPath()%>/student?method=insert" --%>
	<form action="${pageContext.request.contextPath}/student?method=update" method="post">
		<input type="hidden" name="id" value="${student.id}"/>
		名字：<input type="text" name="name" value="${student.name}"/><br/>
		年龄：<input type="text" name="age" value="${student.age}"/><br/>
		性别：<input type="text" name="gender" value="${student.gender}"/><br/>
		<input type="submit" value="修改"/>
	</form>
</body>
</html>